<style>
#calendar {
	width: 500px;
}
</style>
<div class="row pd" id="searchProductDetailInfoIdForReserve">
	<div class="row">
		<div class="col-md-6 base">
			<div class="row">
				<div class="col-md-12">
					<div class="row">
						<div class="col-md-12 title">
							<h3>{{ entity.product.title }}</h3>
						</div>
					</div>
					<div class="row">
						<div class="col-md-6">
							<div class="row first">
								<div class="col-md-6 price">
									<span>成人：<dfn>¥</dfn><em>{{ cache.timeTable ?
											cache.timeTable.salePriceAdult : entity.product.salePriceAdult }}</em>/人起
									</span>
								</div>
								<div class="col-md-6 price">
									<span>结算：<dfn>¥</dfn><em>{{ cache.timeTable ?
											cache.timeTable.costPrice :
											entity.product.costPrice }}</em>/人起
									</span>
								</div>
							</div>

							<div class="row">
								<div class="col-md-6 price">
									<span>儿童：<dfn>¥</dfn><em>{{ cache.timeTable ?
											cache.timeTable.salePriceChild :
											entity.product.salePriceChild }}</em>/人起
									</span>
								</div>
								<div class="col-md-6 price">
									<span>结算：<dfn>¥</dfn><em>{{ cache.timeTable ?
											cache.timeTable.costPriceChild :
											entity.product.costPriceChild }}</em>/人起
									</span>
								</div>
							</div>

							<div class="row">
								<div class="col-md-6 price">
									<span>其他：<dfn>¥</dfn><em>{{ cache.timeTable ?
											cache.timeTable.salePriceOther :
											entity.product.salePriceOther }}</em>/人起
									</span>
								</div>
								<div class="col-md-6 price">
									<span>结算：<dfn>¥</dfn><em>{{ cache.timeTable ?
											cache.timeTable.costPriceOther : entity.product.costPriceOther }}</em>/人起
									</span>
								</div>
							</div>
						</div>
						<div class="col-md-6">
							<img src="{{ entity.resources[0].path }}">
						</div>
					</div>
				</div>
				<div class="col-md-12 supplier">
					<div class="row">
						<div class="col-md-3 text-center">类别：</div>
						<div class="col-md-9">
							{{ entity.product.productCategory == 'self'? '自营' : '非自营'}}
						</div>
					</div>
				</div>
				<div class="col-md-12 supplier">
					<div class="row">
						<div class="col-md-3 text-center">类型：</div>
						<div class="col-md-9">
							{{ cache.typeObject.get(entity.product.type) }}
						</div>
					</div>
				</div>
				<div class="col-md-12 supplier">
					<div class="row">
						<div class="col-md-3 text-center">时长：</div>
						<div class="col-md-9">
							{{ entity.product.travelDay }}天{{
								entity.product.travelNight }}夜
						</div>
					</div>
				</div>
				<div class="col-md-12 supplier">
					<div class="row">
						<div class="col-md-3 text-center">标签：</div>
						<div class="col-md-9">
							{{ entity.product.label }}
						</div>
					</div>
				</div>
				<div class="col-md-12 supplier">
					<div class="row">
						<div class="col-md-3 text-center">供应商：</div>
						<div class="col-md-9">{{ entity.gongYingShang }}<span>({{ entity.product.controlPersonPhone }})</span>
							<!-- <div class="row">
								<div class="col-md-12">{{ entity.gongYingShang }}</div>
								<div class="col-md-12">{{ entity.product.controlPersonPhone }}</div>
							</div> -->
						</div>
					</div>
				</div>
				<div class="col-md-12 seat">
					<div class="tool">
						<form name="reserveProductForm" novalidate>
							<input name="timeTableId" type="hidden" class="form-control"
								ng-model="cache.timeTable.id" required>
							<!--菜单方式 ng-click="reserveSupport.run()" -->
							<!--页方式 click="reserveSupport.run()" -->
							<button type="button" class="btn btn-default"
								onClick="angular.element('#searchProductDetailInfoIdForReserve').scope().reserveSupport.run()"
								ng-disabled="reserveProductForm.$invalid">立即下单</button>
						</form>
					</div>
				</div>
			</div>
		</div>
		<div class="col-md-6 date">
			<div id="calendar"></div>
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<!-- <div class="row person">
				<div class="col-md-8">
					<form role="form" class="form-horizontal query-form">
						<div class="form-group">
							<div class="col-md-3">
								<label class="col-md-3 control-label" for="queryName">出发:</label>
								<div class="col-md-9">
									<input type="text" class="form-control" id="queryName"
										ng-model="search.name">
								</div>
							</div>
							<div class="col-md-3">
								<label class="col-md-3 control-label" for="queryType">成人:</label>
								<div class="col-md-9">
									<input type="text" class="form-control" id="queryType"
										ng-model="search.type">
								</div>
							</div>
							<div class="col-md-3">
								<label class="col-md-3 control-label" for="queryType">儿童:</label>
								<div class="col-md-9">
									<input type="text" class="form-control" id="queryType"
										ng-model="search.type">
								</div>
							</div>
						</div>
					</form>
				</div>
				<div class="col-md-4 btn_p">
					<div class="tool">
						<button type="button" class="btn btn-default"
							ng-click="reserveSupport.run()">立即预定</button>
					</div>
				</div>
			</div> -->
			<!-- <div class="row room">
				<div class="col-md-12 title">
					<label>房间数</label>
				</div>
				<div class="col-md-12">
					<div class="row header">
						<div class="col-md-6">名称</div>
						<div class="col-md-6">间数</div>
					</div>
				</div>
				<div class="col-md-12">
					<div class="row data">
						<div class="col-md-6">房间数</div>
						<div class="col-md-6">
							<form role="form" class="form-horizontal query-form">
								<div class="form-group">
									<div class="col-md-12">
										<div class="col-md-9">
											<input type="text" class="form-control" id="queryType"
												ng-model="search.type">
										</div>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
				<div class="col-md-12">说明,例如:补缴芳菲</div>
			</div> -->
		</div>
		<div class="col-md-12 desc">
			<ul class="nav nav-tabs">
				<!-- tab使用: -->
				<li class="active"><a data-target="#characteristic_tab"
					data-toggle="tab">产品特色</a></li>
				<li><a data-target="#trip_tab" data-toggle="tab">行程</a></li>
				<li><a data-target="#cost_tab" data-toggle="tab">费用说明</a></li>
				<li><a data-target="#guarantee_tab" data-toggle="tab">服务保障</a></li>
				<li><a data-target="#notes_tab" role="tab" data-toggle="tab">预定须知</a></li>
			</ul>
			<div class="tab-content">
				<!--此处存放各tab页div-->
				<div class="tab-pane active" id="characteristic_tab">
					<div ng-bind-html="entity.product.feature"></div>
				</div>
				<div class="tab-pane" id="trip_tab">
					<div>
						<p>
							<a href="{{ cache.path + entity.product.tripFilePath}}">行程下载</a>
						</p>
					</div>
					<!--<div ng-bind-html="entity.product.customTrip"></div>-->
					<!--<div ng-repeat="item in entity.trip">
						<div class="row">
							<div class="col-md-2">第一天</div>
							<div class="col-md-10">
								<div class="row">
									<div class="col-md-12" style="padding: 4px;">{{ item.bus
										== "true"? "大巴&nbsp;" : "" }}{{ item.train=="true"?
										"火车&nbsp;": "" }}{{ item.ship=="true"? '轮船&nbsp;' : "" }}{{
										item.subway=="true"? "动车&nbsp;" : "" }}{{
										item.hsubway=="true"? "高铁&nbsp;" : "" }}{{ item.plane=="true"?
										"飞机" : "" }}</div>
									<div class="col-md-12" style="padding: 4px;">{{
										item.description }}</div>
									<div class="col-md-12" style="padding: 4px;">{{
										item.breakfast == "true"? "早餐&nbsp;":"" }}{{ item.lunch ==
										"true" ? "午餐&nbsp;": "" }}{{ item.dinner == "true"?
										"晚餐&nbsp;": "" }}{{ item.aircraft == "true"? "飞机&nbsp;":""
										}}{{ item.nothing == "true"? "无":"" }}</div>
									<div class="col-md-12" style="padding: 4px;">{{
										item.stayDescribe }}</div>
								</div>
							</div>
						</div>
					</div>-->
				</div>
				<div class="tab-pane" id="cost_tab">
					<div ng-bind-html="entity.costs"></div>
				</div>
				<div class="tab-pane" id="guarantee_tab">
					<div ng-bind-html="entity.product.guarantee"></div>
				</div>
				<div class="tab-pane" id="notes_tab">
					<div ng-bind-html="entity.notes"></div>
				</div>
			</div>
		</div>
	</div>
</div>